<?php
/**
 * Created by PhpStorm.
 * User: fengyan
 * Date: 18-1-5
 * Time: 上午10:13
 */

namespace App\Repositories\Addons\Uploads;


class ReturnMsg
{
    protected $code = 0;

    protected $errorMsg = '';

    protected $data = [];

    public function __construct($code = 0, $errorMsg = '', $data = [])
    {
        $this->code = $code;

        $this->errorMsg = $errorMsg;

        $this->data = $data;
    }

    public function getCode()
    {
        return $this->code;
    }

    public function getErrorMsg()
    {
        return $this->errorMsg;
    }

    public function getData()
    {
        return $this->data;
    }
}